using System;
using FytSoa.Common.Utils;
using System.ComponentModel.DataAnnotations;
using FytSoa.Application.User;
using SqlSugar;

namespace FytSoa.Application.Car;

/// <summary>
/// 活动-报名
/// </summary>
public class CarsActivityApplyDto : AppEntity
{
    /// <summary>
    /// 活动编号
    /// </summary>
    [Required]
    public long ActivityId { get; set; }
    
    /// <summary>
    /// 活动
    /// </summary>
    public CarsActivityDto Activity { get; set; }

    /// <summary>
    /// 用户编号
    /// </summary>
    [Required]
    public long UserId { get; set; }
    
    /// <summary>
    /// 用户
    /// </summary>
    public MemberDto User { get; set; }

    /// <summary>
    /// 姓名
    /// </summary>
    public string Name { get; set; }

    /// <summary>
    /// 手机号码
    /// </summary>
    [Required]
    [StringLength(255)]
    public string Mobile { get; set; }

    /// <summary>
    /// 所属分会
    /// </summary>
    public string Will { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    [Required]
    public DateTime CreateTime { get; set; }

    /// <summary>
    /// 创建人
    /// </summary>
    public string CreateUser { get; set; }

    /// <summary>
    /// 修改时间
    /// </summary>
    public DateTime? UpdateTime { get; set; }

    /// <summary>
    /// 修改人
    /// </summary>
    public string UpdateUser { get; set; }


}